﻿using CommunityToolkit.Mvvm.ComponentModel;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RecipeDemo.ViewModels
{
    [JsonObject(MemberSerialization.OptIn)]
    public partial class ScanPointViewModel : ObservableObject
    {
        [JsonProperty]
        [ObservableProperty]
        private int _imageMode;

        [JsonProperty]
        [ObservableProperty]
        private bool _isOriginSet;

        [JsonIgnore]
        private readonly object _serviceDependency; // 示例依赖项
    }
}
